﻿@model LogManager.ViewModels.LogIndexViewModel
@using MvcContrib.Pagination;
@using MvcContrib.UI.Pager;
@using MvcContrib.UI.Grid;

@{
    Layout = "~/Views/Shared/_Layout.cshtml";
    ViewBag.Breadcrumb = "Log Overview";
}   

@section AsideLeft {
    @Html.Action("ListServerNavigation","Log")
}

<h2>Log Overview</h2>

<fieldset>
    <legend><h3>Logs</h3></legend>
    <p id="logs-placeholder">
        <img src="@Url.Content("~/Content/Images/ajax-loader.gif")" alt="Loading" />
    </p>
</fieldset>

@section Foot{
<script type="text/javascript">
    $(document).ready(function () {
        $('#logs-placeholder').load('@(Url.Action("List", "Log"))');
    });
</script>
}